package com.ruoyi.biz.letter.mapper;

import java.util.List;

import com.ruoyi.biz.letter.domain.BizProvinceLetter;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.biz.report.letter.vo.CategoryCount;
import com.ruoyi.biz.report.letter.vo.CategoryReportReq;
import com.ruoyi.biz.report.letter.vo.ReportYearCategoryResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 省级信访Mapper接口
 *
 * @author Fei.Cong
 * @date 2024-07-17
 */
@Mapper
public interface BizProvinceLetterMapper extends BaseMapper<BizProvinceLetter> {

    IPage<BizProvinceLetter> selectPageList(IPage<BizProvinceLetter> page, @Param("entity") BizProvinceLetter bizProvinceLetter);

    List<ReportYearCategoryResp> selectReportGroupMonthAndCategory(@Param("entity") CategoryReportReq reportReq);

    List<CategoryCount> selectReportGroupCategory(@Param("currentMonth") String currentMonth);

}
